/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package pack;

import java.awt.Color;
import net.useobjects.AbstractMovableRotatableGroup;
import net.useobjects.Circle;
import net.useobjects.geom.Position;

public class Kamen extends Hranica {
    
    private Circle  kamen;
    private int polomer;    

    
    public Kamen(AbstractMovableRotatableGroup parent, Position pozicia,int polomer) {
        
        super(parent, pozicia);
        this.polomer=polomer;
        
        kamen = new Circle(this,0,0,polomer,Color.gray);
    }
    
//    public Kamen(AbstractMovableRotatableGroup parent, double x,double y,int polomer) {
//        this(parent,pozicia.,polomer);
//    }
    
    int getPolomer() {
        return polomer;
    }
}
